package io.kubesphere.devops;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello world!
 */
@RestController
@EnableAutoConfiguration
public class HelloWorldController {
    Logger logger = LoggerFactory.getLogger(HelloWorldController.class);
    @RequestMapping("/")
    public String sayHello() {
        logger.trace("test print trace log");
        logger.debug("test print debug log");
        logger.info("test print info log");
        logger.warn("test print warn log");
        logger.error("test print error log");
        return "Really appreaciate your star, that's the power of our life.";
    }
}
